import java.io.PrintWriter;
import java.io.FileNotFoundException;

// This class is used to write to rfile
public class Print_Writer
{
	public static void main(String[] args) throws FileNotFoundException
	{
		int UserId = 12345;
		String FirstName = "Jack";
		String LastName = "Torrance";
		String Email = "Caretaker@OverlookHotel.com";
		
		// instantiate the PrintWriter
		PrintWriter out = new PrintWriter("User.ohu");
		
		// write each property
		out.println(Integer.toString(UserId));
		out.println(FirstName);
		out.println(LastName);
		out.println(Email);
		
		// close the output file
		out.close(); 
	}
}
